package com.ruoyi.web.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("poi_apply_item")
public class PoiApplyItem extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long id;

    private Long userId;

    private Long applyId;

    private Long projectId;

    private String projectName;

    private Long itemId;

    private String itemName;

    private Integer quotaType;

    private Integer chooseType;

    private Integer quotaFrom;

    private Integer limitType;

    private Integer limitMax;

    private String content;

    private Integer num;

    private Double unitScore;

    private Double score;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date timeStart;

    private Date timeEnd;

    private Integer year;

    private Integer quarter;

    private Integer month;

    @TableLogic
    private Integer delStatus;

    @TableField(exist = false)
    private Integer num1;

    @TableField(exist = false)
    private Integer num2;

    @TableField(exist = false)
    private Double score1;

    @TableField(exist = false)
    private Double score2;

}
